﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.Model.Service
{
    /// <summary>
    /// 例外情報
    /// </summary>
    public sealed class NicoException:Exception
    {
        /// <summary>
        /// コンストラクタ
        /// </summary>
        /// <param name="message"></param>
        internal NicoException(string message) : base(message) { }

        /// <summary>
        /// コンストラクタ
        /// </summary>
        /// <param name="e"></param>
        internal NicoException(Exception e) : base(e.Message, e) { }

        /// <summary>
        /// コンストラクタ
        /// </summary>
        /// <param name="message"></param>
        /// <param name="e"></param>
        internal NicoException(string message,Exception e) : base(message, e) { }

    }
}
